Repository navigation
Conversation
GitHub blocks pull_request_target by default in public repositories from 2 December 2026, with brownouts on 9 and 16 November. Advance action tags (dca6bd4) landed after the DEVOPS-1803 inventory and still listened for pull_request_target closed, so tag advancement would stop on the cutoff and during each brownout, and fixes merged to main would silently stay unshipped. The workflow now runs on push to main. The script resolves the merged pull request whose merge commit is the pushed head through the API and feeds the existing logic the same pull_request shape, so the major-release, binary action, file count and lease checks are unchanged. A push that is not a PR merge warns and skips; several matching PRs or malformed API data fail closed. Refs: DEVOPS-1803 Claude-Session: https://claude.ai/code/session_017edg9i7XSWRkNCSfeYYZzw
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Advance action tags still triggers on
pull_request_targetclosed. GitHub blocks that event by default in public repositories from 2 December 2026, with brownouts on 9 and 16 November, 16:00 to 18:00 UTC (changelog). The workflow merged after the DEVOPS-1803 inventory, so the open migration PRs do not cover it. Without this change, tag advancement stops at the cutoff and during each brownout.pushtomain, checks outgithub.sha, and declares no dangerous trigger.merge_commit_shais the pushed head onmain, reads it frompulls/{n}, and passes the existing logic the samepull_requestshape. The major-release, binary action, file count, ancestry and lease checks are unchanged.Test plan
make test-advance-action-tags: 14 tests. The 8 existing tests are unchanged. 6 new ones cover a push resolving a PR, the major-release label read from the API, a push with no PR (retried three times), PRs that only contain the commit or target another base, several matching PRs, and malformed API data.actionlint,shellcheck,make check-bats-jobsandzizmoron the changed workflow are clean. Repository-widemake lintstill reports the existingdangerous-triggersfinding onissue_commentin.github/workflows/claude.yml:4, whichorigin/mainreproduces.mainafter this one runs the new trigger. Check that run forAdvanced <tag>or the no-change message.Refs DEVOPS-1803
https://claude.ai/code/session_017edg9i7XSWRkNCSfeYYZzw